#ifndef STRING_H
#define STRING_H
#include <string>
#endif

#ifndef VECTOR_H
#define VECTOR_H
#include <vector>
#endif

std::vector<std::string> split(std::string _str, char _splitter);
bool is_numeric(std::string _str);

struct URL {
	std::string host_name;
	std::string path;
};

struct URL generate_url(std::string _url);
std::string get_error_code(std::string HTTP_Response);
std::string get_error_description(std::string HTTP_Response);
std::string get_date(std::string HTTP_Response);
std::string get_expires(std::string HTTP_response);
std::string get_body(std::string HTTP_Response);
